package com.hhss.qishi.mapper;

import com.hhss.qishi.entity.Article;
import com.hhss.qishi.mapper.provider.ArticleProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author :Administrator
 * @Description
 * @Date :2019-05-27 15:13.
 */
@Mapper
@Repository
public interface ArticleMapper extends CapitalMapper<Article>{

	@SelectProvider(type = ArticleProvider.class, method = "getListSQL")
	List<Article> getList(@Param("article") Article article);
}
